<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>退单列表 - Powered By ${systemConfig.systemName}</title>
<meta name="Author" content="SHOP++ Team" />
<meta name="Copyright" content="SHOP++" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "/WEB-INF/template/common/include.ftl">
<link href="${base}/template/admin/css/list.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/template/admin/js/list.js"></script>

</head>
<body class="list">
	<div class="body">
		<div class="listBar">
			<h1><span class="icon">&nbsp;</span>退单列表管理&nbsp;<span class="pageInfo">总记录数: ${pager.totalCount}(共${pager.pageCount}页)</span></h1>
		</div>
		<form id="listForm" action="prolog_order!tlist.action" method="post">
			<div class="operateBar">
				<label>查找:</label>
				<select name="pager.property">
					<option value="prolog_id" <#if pager.property == "prolog_id">selected="selected" </#if>>
						编号
					</option>


				</select>
				<label class="searchText"><input type="text" name="pager.keyword" value="${pager.keyword!}" /></label><input type="button" id="searchButton" class="searchButton" value="" />
				<label>每页显示:</label>
				<select name="pager.pageSize" id="pageSize">
					<option value="10" <#if pager.pageSize == 10>selected="selected" </#if>>
						10
					</option>
					<option value="20" <#if pager.pageSize == 20>selected="selected" </#if>>
						20
					</option>
					<option value="50" <#if pager.pageSize == 50>selected="selected" </#if>>
						50
					</option>
					<option value="100" <#if pager.pageSize == 100>selected="selected" </#if>>
						100
					</option>
				</select>
			</div>
			<table class="listTable">
				<tr>

					<th>
						<span class="sort" name="prolog_id">生产单编号</span>
					</th>
					
					<th>
						<span class="sort" name="order.id">订单编号</span>
					</th>					
					<th>
						<span class="sort" name="product.id">品名</span>
					</th>
					<th>
						<span class="sort" name="sendTime">派送时间</span>
					</th>					
					<th>
						<span class="sort" name="produceDistribTime">生产分配时间</span>
					</th>
					<th>
						<span class="sort" name="produceDistribManager">生产分配人员</span>
					</th>
					<th>
						<span class="sort" name="produceDistribStaff">生产人员</span>
					</th>
					
					<th>
						<span class="sort" name="produceCompTime">生产完成时间</span>
					</th>
					<th>
						<span class="sort" name="deliveryDistribManager">物流分配人员</span>
					</th>
					<th>
						<span class="sort" name="deliveryDistribStaff">物流人员</span>
					</th>
					<th>
						<span class="sort" name="deliveryDistribTime">物流分配时间</span>
					</th>
					<th>
						<span class="sort" name="paymentStatus">支付状态</span>
					</th>															

				</tr>
				<#list pager.list as list>
					<tr>

						<td>
							${list.prolog_id}
							&nbsp;
						</td>
						
						<td>
							${list.order.id}
							&nbsp;
						</td>					
							
						<td>
							${list.product.name}
							&nbsp;
						</td>						

						<td>
							${list.sendTime}
							&nbsp;
						</td>
												
						<td>
							${list.produceDistribTime}
							&nbsp;
						</td>
						<td>
							${list.produceDistribManager}
							&nbsp;
						</td>
						<td>
							${list.produceDistribStaff}
							&nbsp;
						</td>					
						<td>
							${list.produceCompTime}
							&nbsp;
						</td>		
						<td>
							${list.deliveryDistribManager}
							&nbsp;
						</td>	
						<td>
							${list.deliveryDistribStaff}
							&nbsp;
						</td>	
						<td>
							${list.deliveryDistribTime}
							&nbsp;
						</td>	
						<td>

							<#if list.paymentStatus == '0'>
							   未支付
							   &nbsp;
							</#if>	
							<#if list.paymentStatus == '1'>
							   部分支付
							   &nbsp;
							</#if>	
							<#if list.paymentStatus == '2'>
							   已支付
							   &nbsp;
							</#if>	
							<#if list.paymentStatus == '3'>
							   部分退款
							   &nbsp;
							</#if>															
							<#if list.paymentStatus == '4'>
							   全额退款
							   &nbsp;
							</#if>															
				      
						
						</td>	
						
					
																	
					</tr>
				</#list>
			</table>
		</form>
	</div>
</body>
</html>